
package com.bc.mcode;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.File;

@SpringBootApplication
public class MainStarter {
	public static void main(String[] args) {
		// 初始化日志路径
		File file = new File("logs");
		if(!file.exists()){
			file.mkdir();
		}
		System.setProperty("log.base",file.getAbsolutePath());
		SpringApplication.run(MainStarter.class, args);
	}
}
